﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            try
            {
                string str = System.IO.Path.Combine(@"D:\TL_Cloud\TL_Cloud\TL_Cloud.API", " /headIcon/");
                MessageBox.Show(str);
                   
               // new WebClient().UploadFile("http://192.168.2.98:5000/api/FileUpload", "POST", @"D:\Test1.txt");
            }
            catch(Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
    }
}
